Python Program to Check a String and Number is Palindrome Or Not